package cn.huiyunche.base.service.interfaces;

import cn.huiyunche.base.service.model.SOrderPayrole;
import cn.huiyunche.base.service.vo.Result;

/**
 * 订单 支付角色关联Service
 *
 * @author lm
 */
public interface SOrderPayRoleService {

    /**
     * 添加关联关系
     *
     * @param orderId
     * @param userId
     * @param payRole
     * @param phone
     * @return
     */
    Result<String> addSorderPayRoleRelations(Long orderId, Long userId, Integer payRole, String phone);

    /**
     * 根据订单ID 查询支付角色
     *
     * @param id
     * @return
     */
    SOrderPayrole getUserByOrderId(Long id);

}
